package com.sdx.console.content.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.sdx.console.content.entity.*;

/**
 * 电子书章节 Dao
 */
@SqlResource("content.ebookChapter")
public interface EbookChapterDao extends BaseMapper<EbookChapter>{
    public PageQuery<EbookChapter> queryByCondition(PageQuery query);
    public void batchDelEbookChapterByIds( List<String> ids);
    public List<EbookChapter> listChapterByBookId(Integer bookId);
}